package com.xingkeduo.pojo.table;


import com.xingkeduo.util.pojo.base.BaseTable;
import org.apache.ibatis.type.Alias;

import javax.validation.constraints.NotNull;

/**
 * 文件概述
 *
 * @author wangxilong <wangxilong@xingkeduo.com>
 * @version id:v0.1 ${date}${time}
 * @package BeautyOS
 * @copyright Copyright (c) XKD 2019
 */

@Alias("PostsPerms")
public class PostsPermsTable extends BaseTable<PostsPermsTable> {

    @NotNull(message = "职位不能为空")
    private Long postsId;

    @NotNull(message = "资源不能为空")
    private String permsIds;

    public Long getPostsId() {
        return postsId;
    }

    public PostsPermsTable setPostsId(Long postsId) {
        this.postsId = postsId;
        return this;
    }

    public String getPermsIds() {
        return permsIds;
    }

    public PostsPermsTable setPermsId(String permsIds) {
        this.permsIds = permsIds;
        return this;
    }


}
